package com.chixing.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 流水表
 * </p>
 *
 * @author Jason Marslyon
 * @since 2022-10-04
 */
@TableName("person_flow")
@ApiModel(value = "PersonFlow对象", description = "流水表")
public class PersonFlow implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("流水id")
    @TableId(value = "flow_id", type = IdType.AUTO)
    private Integer flowId;

    @ApiModelProperty("订单id")
    private Integer orderId;

    @ApiModelProperty("流水编号")
    private String flowNumber;

    @ApiModelProperty("支付金额")
    private Float payPrice;

    @ApiModelProperty("支付时间")
    private LocalDateTime payCreateTime;

    @ApiModelProperty("支付状态")
    private Integer payStatus;

    private String personFlowVersion;

    private String text1;

    private String text2;

    public Integer getFlowId() {
        return flowId;
    }

    public void setFlowId(Integer flowId) {
        this.flowId = flowId;
    }
    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }
    public String getFlowNumber() {
        return flowNumber;
    }

    public void setFlowNumber(String flowNumber) {
        this.flowNumber = flowNumber;
    }
    public Float getPayPrice() {
        return payPrice;
    }

    public void setPayPrice(Float payPrice) {
        this.payPrice = payPrice;
    }
    public LocalDateTime getPayCreateTime() {
        return payCreateTime;
    }

    public void setPayCreateTime(LocalDateTime payCreateTime) {
        this.payCreateTime = payCreateTime;
    }
    public Integer getPayStatus() {
        return payStatus;
    }

    public void setPayStatus(Integer payStatus) {
        this.payStatus = payStatus;
    }
    public String getPersonFlowVersion() {
        return personFlowVersion;
    }

    public void setPersonFlowVersion(String personFlowVersion) {
        this.personFlowVersion = personFlowVersion;
    }
    public String getText1() {
        return text1;
    }

    public void setText1(String text1) {
        this.text1 = text1;
    }
    public String getText2() {
        return text2;
    }

    public void setText2(String text2) {
        this.text2 = text2;
    }

    @Override
    public String toString() {
        return "PersonFlow{" +
            "flowId=" + flowId +
            ", orderId=" + orderId +
            ", flowNumber=" + flowNumber +
            ", payPrice=" + payPrice +
            ", payCreateTime=" + payCreateTime +
            ", payStatus=" + payStatus +
            ", personFlowVersion=" + personFlowVersion +
            ", text1=" + text1 +
            ", text2=" + text2 +
        "}";
    }
}
